import request from '@/utils/request'

// 查询渠道产品动销统计列表
export function listCustomerGoodsGmv(query) {
  return request({
    url: '/report/customerGoodsGmv/list',
    method: 'post',
    data: query
  })
}

// 查询渠道产品动销统计详细
export function getCustomerGoodsGmv(id) {
  return request({
    url: '/report/customerGoodsGmv/' + id,
    method: 'get'
  })
}

// 新增渠道产品动销统计
export function addCustomerGoodsGmv(data) {
  return request({
    url: '/report/customerGoodsGmv/add',
    method: 'post',
    data: data
  })
}

// 修改渠道产品动销统计
export function updateCustomerGoodsGmv(data) {
  return request({
    url: '/report/customerGoodsGmv/update',
    method: 'post',
    data: data
  })
}

// 删除渠道产品动销统计
export function delCustomerGoodsGmv(id) {
  return request({
    url: '/report/customerGoodsGmv/delete/' + id,
    method: 'post'
  })
}
